package com.bckj.fastboot.paid.biz.domain.pay.context;

import com.bckj.fastboot.core.execution.ExecutionContext;
import com.bckj.fastboot.paid.api.entity.PayOrder;
import com.bckj.fastboot.paid.api.model.PayRequest;
import com.bckj.fastboot.paid.api.model.PayResponse;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class PayContext implements ExecutionContext {
    private PayRequest request;
    private PayResponse response;
    private PayOrder payOrder;

    public static PayContext create() {
        return new PayContext();
    }
}
